

#ifndef _UART_H_
#define _UART_H_

struct s5pv210_uart
{
    unsigned int    ulcon;
    unsigned int    ucon;
    unsigned int    ufcon;
    unsigned int    umcon;
    unsigned int    utrstat;
    unsigned int    uerstat;
    unsigned int    ufstat;
    unsigned int    umstat;
    unsigned char   utxh;
    unsigned char   res1[3];
    unsigned char   urxh;
    unsigned char   res2[3];
    unsigned int    ubrdiv;
    unsigned short  udivslot;
    unsigned char   res3[2];
    unsigned char   res4[0x3d0];	
};

#define S5PV10_UART_BASE		(0xe2900000)
#define PIN_MODE_UART			0x02

void uart_init(void);
void putc(const char c);

#endif /*_UART_H_*/

